package com.xgpro.domain.messagemanage.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @program: xgpro__dev
 * @description: 消息实体类
 * @author: likai
 * @create: 2019-09-17 06:52
 **/
@Data
@Table(name = "t_message")
public class Message {

    /**
     * 主键
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息发送人id
     */
    private String sendUser;

    /**
     * 消息时间
     */
    private String msgTime;


}
